<?php

require_once("core/SocialMashup.php");

$networks = explode(",", $_GET["networks"]);
$search = $_GET["search"];
$max_results = $_GET["max_results"];

$sm = new SocialMashup($search, $max_results);

/*
foreach ($networks as $network)
{
	$sm->exec($network)->load();
}
*/

$sm->exec("youtube")->load();
// Output
$sm->getJSON();

?>